package fr.grassaud.hmvc.component;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Annotation used to set a component as a Model
 * @author vgrassaud
 *
 */
@Target({ElementType.TYPE,ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface Model {

    public Class<?> controlledBy();
    
    public String name() default "";
}
